﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4_2104A.Shopping.ThreeFrame.Model
{
    /// <summary>
    /// SPU商品表 - 标准化产品单元
    /// </summary>
    [Table("tb_proudct_spu")]
    public class SPUModel:AuditField
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }//商品名称

        /// <summary>
        /// 分类ID
        /// </summary>
        public Guid CategoyrId { get; set; } //关联分类

        /// <summary>
        /// 品牌ID
        /// </summary>
        public Guid BrandId { get; set; } //关联品牌

        /// <summary>
        /// 产品封面图片
        /// </summary>
        public string? Cover { get; set; }//商品封面图

        /// <summary>
        /// 产品介绍
        /// </summary>
        public string Description { get; set; } //商品介绍

    }
}
